<aside class="lyear-layout-sidebar">
    <!-- logo -->
    <div id="logo" class="sidebar-header">
      <a href="/admin/index/index"><img src="__STATIC__/admin/img/logo-sidebar.png" title="LightYear" alt="LightYear" /></a>
    </div>
    <input type="hidden" id="pick" value="{$pick}">
    <div class="lyear-layout-sidebar-scroll"> 
      <nav class="sidebar-main">
        <ul class="nav nav-drawer">
          <li class="nav-item active"> <a href="/admin/index/index"><i class="mdi mdi-home"></i> 后台首页</a> </li>
          {if condition="$is_super eq 1"}
            <li class="nav-item nav-item-has-subnav">
              <a href="javascript:void(0)"><i class="mdi mdi-new-box"></i> 管理员管理</a>
              <ul class="nav nav-subnav">
                <li class="li_item1"><a href="/admin/admin/admin_list">管理员列表</a></li>
              </ul>
            </li>
          {/if}

          <li class="nav-item nav-item-has-subnav">
            <a href="javascript:void(0)"><i class="mdi mdi-code-not-equal"></i> 申请管理</a>
            <ul class="nav nav-subnav">
              <li class="li_item2"><a href="/admin/notice/notice_list">申请列表</a></li>
            </ul>
          </li>

          <li class="nav-item nav-item-has-subnav">
            <a href="javascript:void(0)"><i class="mdi mdi-new-box"></i> 分类管理</a>
            <ul class="nav nav-subnav">
              <li class="li_item3"><a href="/admin/type/onetype_list">大分类</a></li>
              <li class="li_item4"><a href="/admin/type/twotype_list">小分类</a></li>
            </ul>
          </li>
          <li class="nav-item nav-item-has-subnav">
            <a href="javascript:void(0)"><i class="mdi mdi-content-paste"></i> 公告管理</a>
            <ul class="nav nav-subnav">
              <li class="li_item5"><a href="/admin/notice/notice_list">公告列表</a></li>
            </ul>
          </li>
        </ul>
      </nav>
    </div>
  </aside>
  <script type="text/javascript" src="__STATIC__/admin/js/jquery.min.js"></script>
  <style>
    .beblock{
      display: block;
    }
  </style>
  <script>
    $(window).ready(function(){
      var pick = $("#pick").val();
      $(".li_item"+pick).addClass('active');
      $(".li_item"+pick).parent('ul').addClass('beblock');
    });
  </script>